import java.util.Scanner;

/**
 * @author: gao
 * @create-date: 2025/5/10 9:51
 */

public class Solution {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNext()) {
            double num = in.nextDouble();
            int n1 = (int) num;
            System.out.println(n1);
        }
    }
}